package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.RoleDto;
import com.zzyl.entity.Role;
import com.zzyl.vo.RoleVo;

import java.util.Set;

public interface RoleService {
    void saveRole(Role role);

    PageResponse<RoleVo> findByPage(Integer pageNum, Integer pageSize, String roleName);

    Set<String> findByRoleId(Long roleId);

    void update(RoleDto dto);

    void deleteByRoleId(Long roleId);
}
